﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000340 RID: 832
	public class TRestrictionClause : TParseTreeNode
	{
		// Token: 0x0600220C RID: 8716 RVA: 0x00334930 File Offset: 0x00332B30
		public void setType(int rc)
		{
			this.type = rc;
		}

		// Token: 0x170006F3 RID: 1779
		// (get) Token: 0x0600220E RID: 8718 RVA: 0x00334942 File Offset: 0x00332B42
		// (set) Token: 0x0600220D RID: 8717 RVA: 0x00334939 File Offset: 0x00332B39
		public virtual int Type
		{
			get
			{
				return this.type;
			}
			set
			{
				this.type = value;
			}
		}

		// Token: 0x170006F4 RID: 1780
		// (get) Token: 0x0600220F RID: 8719 RVA: 0x0033494A File Offset: 0x00332B4A
		// (set) Token: 0x06002210 RID: 8720 RVA: 0x00334952 File Offset: 0x00332B52
		public virtual TObjectName ConstraintName
		{
			get
			{
				return this.constraintName;
			}
			set
			{
				this.constraintName = value;
			}
		}

		// Token: 0x06002211 RID: 8721 RVA: 0x0033495B File Offset: 0x00332B5B
		public override void init(object arg1)
		{
			this.constraintName = (TObjectName)arg1;
		}

		// Token: 0x06002212 RID: 8722 RVA: 0x00334969 File Offset: 0x00332B69
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06002213 RID: 8723 RVA: 0x00334979 File Offset: 0x00332B79
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001AD0 RID: 6864
		public const int with_read_only = 1;

		// Token: 0x04001AD1 RID: 6865
		public const int with_check_option = 2;

		// Token: 0x04001AD2 RID: 6866
		public const int with_local_check_option = 3;

		// Token: 0x04001AD3 RID: 6867
		public const int with_cascaded_check_option = 4;

		// Token: 0x04001AD4 RID: 6868
		private int type;

		// Token: 0x04001AD5 RID: 6869
		private TObjectName constraintName;
	}
}
